CruiseControl.NET : File Merge Task
This page last changed on Nov 07, 2004 by mroberts.
Most build processes interact with external tools that write their output to file (eg. NUnit or FxCop or NCover). In order to make the output of these tools available to CruiseControl.NET to be used in the build process or displayed in the CCNet web page or included in CCNet emails, these files need to be merged into the CCNet integration. To merge these files, you need to include a File Merge Task in your CCNet project. To do so, you need to modify your ccnet.config file as follows:<cruisecontrol> <project name="project"> ... <tasks> <merge> <files> <file><!-- path to NUnit test file --></file> <file><!-- path to FxCop file --></file> </files> </merge> </tasks> </project> </cruisecontrol> Modify the contents of the <files> element to contain the path of the files that you wish to merge. The file can be specified using an asterisk ("*") wildcard in order to include multiple files that match the specified pattern (ie. "*-results.xml" will merge all files ending with the suffix "-results.xml"). The asterisk wildcard can only be used in the filename, not in the path. If a relative <file> location is specified, this is relative to the Project Working Directory.Why are the merged results not showing up in the Project Report Web Application?If you have set up the configuration for the File Merge Task as described above and you are still not ending up with the appropriate results showing up within the web application, please try the following steps:
|
Document generated by Confluence on Jun 26, 2005 17:22 |